package com.ruoyi.mstore.mapper;

import com.ruoyi.mstore.domain.MaintenanceRecord;
import org.springframework.data.repository.query.Param;

/**
* @author mder
* @description 针对表【maintenance_record(维修记录表)】的数据库操作Mapper
* @createDate 2025-03-20 17:12:45
* @Entity com.ruoyi.mstore.domain.MaintenanceRecord
*/
public interface MaintenanceRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(MaintenanceRecord record);

    int insertSelective(MaintenanceRecord record);

    MaintenanceRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MaintenanceRecord record);

    int updateByPrimaryKey(MaintenanceRecord record);


    int updateRecordStatusByRecordId(@Param("recordId") Long recordId, @Param("recordStatus") Integer recordStatus);


}
